# -- coding: utf-8 --
def isEqual(num1,num2):       #定义isEqual这个比较大小的函数
	if num1 < num2:
		print 'too small!'
		return False
	
	if num1 > num2:
		print 'too big!'
		return False
		
	if num1 == num2:
		print 'bingo!'
		return True

from random import randint
num = randint(1,1000)
print 'Guess what I think?'
bingo = False
while bingo == False:
	answer = input()
	bingo = isEqual(answer,num)